package com.mooo;

import java.util.Scanner;

public class a11 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个小数");
        double a = sc.nextDouble();
        System.out.println("请再输入一个小数");
        double b = sc.nextDouble();
        System.out.println("请再输入一个小数");
        double c = sc.nextDouble();
        double temp = a < b ? a : b;
        double min = temp < c ? temp : c;
        System.out.println("三个小数中最小的为：" + min);
    }
}
